JavaScript

A5.ViewBoxremoveElementClass Method

Syntax

A5.ViewBox.removeElementClass(value,className)

A5.ViewBox.removeElementClass(id,className)

Arguments

valueany

The value of the element(s) in the view box to remove the class name from.

idstring

The ID of the element in the view box to remove the class name from. Must be prefixed with a "#", for example "#button1".

classNamestring

The class name to remove from the element(s).

Description

Remove a class name from element(s) in the view box.

Example

// To get a pointer to the A5.ViewBox class see {dialog.object}.getControl
// assume vbObj is a pointer to an instance of the A5.ViewBox class
vbObj.removeElementClass('a','highlight'); // remove the class name "highlight" to the element(s) with the value of "a"